package com.yc.common.expection;

import com.yc.common.enums.ResultCode;

import java.io.Serializable;

/**
 * @Classname ServiceException
 * @Description 处实现理异常
 * @Version 1.0.0
 * @Date 2022/8/9 11:32
 * @Created by Mikechen
 */
public class ServiceException extends BaseException implements Serializable {
    private static final long serialVersionUID = 1L;
    public ServiceException(String msg) {
        this.msg = msg;
        this.code = ResultCode.fail.getCode();
    }
}
